import {
  get,
  post
} from "../api"

//商品列表
export const productList = data => get('/bmj-api/api/homeProduct/list', data)

//商品详情
export const productDetail = id => get(`/bmj-api/api/homeProduct/detail/${id}`)

//购买列表
export const orderList = data => get('/bmj-api/api/homeProductOrder/list', data)